package com.app.auth.inspector;

import org.hibernate.resource.jdbc.spi.StatementInspector;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;


public class AppStatementInspector implements StatementInspector {
    private static Logger logger= LoggerFactory.getLogger(SqlInterceptor.class);
    @Override
    public String inspect(String s) {
        logger.info(s);
//        return "select userinfo0_.id as id1_0_, userinfo0_.addr as addr2_0_, userinfo0_.age as age3_0_, userinfo0_.name as name4_0_ from user_info userinfo0_   where id>4";
        return s;
    }
}
